package com.hongdee.crm.task.dao;

import com.hongdee.base.basedao.IBaseDao;
import com.hongdee.crm.task.entity.TCrmCarProperty;

import java.util.List;
import java.util.Map;

/**
 * Created by My on 2017/3/15.
 */
public interface ITCrmCarPropertyTaskDao extends IBaseDao {

    public List<Map<String,Object>> findCarList(String sql,int start,int limit)throws Exception;

    /**
     * 根据车辆ID 标签查询是否已经存在
     * @param carId
     * @param label
     * @return
     */
    public Integer findPropertyByIdAndLabel(String carId,String label) throws Exception;

    /**
     * 批量保存车辆标签信息
     * @param lists
     */
    public void insertCarPropertyLists(final List<TCrmCarProperty> lists);
}
